namespace OasisCiq.Xal
{
    using System.Collections.Generic;
    using CommonTypes;

    /// <summary>
    /// Details of the Premises (could be building(s), site, loaction, property,
    /// premise, place) which is a landmark place which has a main address such
    /// as large mail user (e.g. Airport, Hospital, University) or could be a building
    /// (e.g. apartment, house) or a building or complex of buildings (e.g. an apartment
    /// complex or shopping centre) or even a vacant land (e.g. LOT).
    /// A premises can have many sub-addresses such as apartments in a building
    /// having its own addresses or buildings within an airport having
    /// its own addresses including its own thoroughfares
    /// </summary>
    public class Premises : PremisesType
    {
        public ICollection<SubPremises> SubPremises { get; set; }

        public PremisesTypeList Type { get; set; }

        /// <summary>
        /// Type of code use for Premises Type attribute
        /// </summary>
        public CTString TypeCode { get; set; }
    }
}